home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / System / Swatch / Development / swatch 1.7 / prefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-30  |  741 b   |  51 lines  |  [TEXT/KAHL]

  1. /**
  2.  
  3.     prefs.h
  4.     Copyright (c) 1990-1992, joe holt
  5.  
  6.  **/
  7.  
  8.  
  9. #ifndef __prefs__
  10. #define __prefs__
  11.  
  12. /*******************************************************************************
  13.  **
  14.  **    Headers
  15.  **
  16.  **/
  17.  
  18. #ifndef __ctypes__
  19. #include "ctypes.h"
  20. #endif
  21.  
  22.  
  23. /*******************************************************************************
  24.  **
  25.  **    Public Variables
  26.  **
  27.  **/
  28.  
  29. typedef struct {
  30.     int16 version;
  31.     Boolean dirty;
  32.     Rect window_rect;
  33.     int32 heap_scale;
  34.     int16 heap_scale_2n;
  35.     int16 wne_in_foreground, wne_in_background;
  36. } Preferences_t;
  37.  
  38. extern Preferences_t Prefs;
  39.  
  40.  
  41. /*******************************************************************************
  42.  **
  43.  **    Public Functions
  44.  **
  45.  **/
  46.  
  47. void Prefs_init( void );
  48. void Prefs_save( void );
  49.  
  50. #endif
  51.